package com.funtl.framework.web.admin.service;

import java.util.List;

import com.funtl.framework.java.util.exception.ServiceException;
import com.funtl.framework.web.entity.Admin;

/**
 * 管理员
 * @author WMLI
 * Create on 2013-5-14
 */
public interface IAdminService {
	/**
	 * 登陆
	 * @param admin
	 * @return
	 * @throws ServiceException
	 */
	public Admin login(Admin admin) throws ServiceException;
	
	/* 通用接口 */
	public Admin get(Admin entity) throws ServiceException;
	public List<Admin> getList(Admin entity) throws ServiceException;
	public String insert(Admin entity) throws ServiceException;
	public String delete(Admin entity) throws ServiceException;
	public String update(Admin entity) throws ServiceException;
}
